package com.p900.website.repository;

import com.p900.commons.domain.Advertisement;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * Created by lenovo on 2015/5/8.
 */
public interface AdvertisementRepository extends PagingAndSortingRepository<Advertisement, Long> {

    public List<Advertisement> findByStatus(Integer status);
}
